package com.example.demo.domain.db;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.solr.client.solrj.beans.Field;

/**
 * @Description
 * @Author <a href="hedong.wu@baozun.com">wuhedong</a>
 * @Date 2020/5/29 19:10
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderInfo {

    @Field("order_id")
    private Long orderId;

    @Field("user_email")
    private String userEmail;

    @Field("user_phone")
    private String userPhone;

    public OrderInfo(Long orderId){
        this.orderId = orderId;
    }
}
